#include <iostream>
#include <string>
using namespace std;

class Client {
public:
	void perform(string cmd) {
		cout << ">>>cmd: " << cmd << endl;
		if(cmd=="chkBuffer") {
			cout << "check the buffer" << endl;
		} else if(cmd=="chkIc") {
			cout << "check the Ic" << endl;
		} else if(cmd=="chkCard") {
			cout << "check the card" << endl;
		} else if(cmd=="queryStats") {
			cout << "query the statistic" << endl;
		}
	}
};

int main() {
	Client* client = new Client();
	string cmd;
	cmd = "chkBuffer";
	client->perform(cmd);
	cmd = "chkIc";
	client->perform(cmd);
	cmd = "chkCard";
	client->perform(cmd);
	cmd = "queryStats";
	client->perform(cmd);
}

